<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../../../../assets/libs/jquery/jquery-3.6.1.min.js"></script>
</head>

<body>
  <button id="show">show</button>
  <button id="hide">hide</button>
  <br>
  <img src="../../../../assets/images/Cheems.jpg">

  <script>
    $('#show').click(() => {
      $('img').show()
    })

    $('#hide').click(() => {
      $('img').hide()
    })
  </script>
</body>

</html>